Table of Contents
Target Namespace
http://www.e-dec.ch/xml/schema/edecResponse/v3
Version
3.0
Element and Attribute Namespaces
Global element and attribute declarations belong to this schema's target namespace.
By default, local element declarations belong to this schema's target namespace.
By default, local attribute declarations have no namespace.
Declared Namespaces
Prefix
Namespace
xml
http://www.w3.org/XML/1998/namespace
edecResponse
http://www.e-dec.ch/xml/schema/edecResponse/v3
xs
http://www.w3.org/2001/XMLSchema
Schema Component Representation
<
xs:schema targetNamespace ="
http://www.e-dec.ch/xml/schema/edecResponse/v3 "
elementFormDefault ="
qualified "
attributeFormDefault ="
unqualified "
version ="
3.0 ">
...
</
xs:schema >
Name
goodsDeclarationsResponse
Type
Locally-defined complex type
Nillable
no
Abstract
no
Documentation
Root Element mit Antwort auf e-dec Import oder Export Zollanmeldung.
In der Antwort können sowohl Annahmen wie auch Ablehnungen verschiedener Zollanmeldungen stehen.
Tatsächlich wird aber immer nur eine einzelne Antwort auf eine Zollanmeldung pro edecResponse Dokument zurückgeschickt. Eine Antwort kann sowohl eine Annahme/Ablehnung wie eine Statusmeldung zu einer Zollanmeldung enthalten.
Alterantiv zu diesem Root Element kann auch das Root Element selectionAndTransitResponse in einer Antwort benutzt werden (siehe globales Element selectionAndTransitResponse).
Anhand des Attributs schemaVersion wird mitgeteilt, welche Version des edecResponse Schemas zum Validieren benutzt werden soll.
Diagram
Schema Component Representation
<
xs:element name ="
goodsDeclarationsResponse ">
<
xs:complexType >
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
</
xs:element >
Name
goodsDeclarationStatus
Type
edecResponse :GoodsDeclarationStatusType
Nillable
no
Abstract
no
Documentation
Status einer Zollanmeldung, z.B. wartend auf Korrekturbegutachtung durch Zöllner. Das Element kann alleine oder zusammen mit einer goodsDeclarationAcceptance vorkommen.
Diagram
Name
selectionAndTransitResponse
Type
Locally-defined complex type
Nillable
no
Abstract
no
Documentation
Alternatives Root Element mit Antwort auf e-dec Export selectionAndTransit Anfragen.
Die Struktur des Elements ist identisch mit jener des globalen Elements goodsDeclarationsResponse.
Anhand des Attributs schemaVersion wird mitgeteilt, welche Version des edecResponse Schemas zum Validieren benutzt werden soll.
Diagram
Schema Component Representation
<
xs:element name ="
selectionAndTransitResponse ">
<
xs:complexType >
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
</
xs:element >
Super-types:
None
Sub-types:
None
Name
ChangeInformationType
Abstract
no
Documentation
Complex Type für Informationen über neue, korrigierte oder gelöschte Daten der Zollanmeldung. Die Struktur des Elements lehnt sich an den Working Draft von XUpdate an (siehe http://xmldb-org.sourceforge.net/xupdate/).
Diagram
XML Instance Representation
<...>
<
edecResponse :append
select="xs :string (length >= 1) [1] " child="xs :integer [0..1] " >
[0..*] ? Allow any elements from the following namespace(s): http://www.e-dec.ch/xml/schema/edec (lax validation). [1..*]
</
edecResponse :append>
<
edecResponse :insert-after
select="xs :string (length >= 1) [1] " >
[0..*] ? Allow any elements from the following namespace(s): http://www.e-dec.ch/xml/schema/edec (lax validation). [1..*]
</
edecResponse :insert-after>
</...>
Schema Component Representation
<
xs:complexType name ="
ChangeInformationType ">
<
xs:sequence >
<
xs:element name ="
update "
minOccurs ="
0 "
maxOccurs ="
unbounded ">
<
xs:complexType mixed ="
true ">
<
xs:simpleContent >
<
xs:extension base ="
xs :string">
<
xs:attribute name ="
select "
use ="
required ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:minLength value ="1 "/>
<xs:maxLength value ="500 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:attribute >
</
xs:extension >
</
xs:simpleContent >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
append "
minOccurs ="
0 "
maxOccurs ="
unbounded ">
<
xs:complexType >
<
xs:sequence >
<xs:any namespace ="http://www.e-dec.ch/xml/schema/edec " processContents ="lax " maxOccurs ="unbounded "/>
</
xs:sequence >
<
xs:attribute name ="
select "
use ="
required ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:minLength value ="1 "/>
<xs:maxLength value ="500 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:attribute >
<
xs:attribute name ="
child "
type ="
xs :integer"
use ="
optional "/>
</
xs:complexType >
</
xs:element >
<
xs:element name ="
insert-after "
minOccurs ="
0 "
maxOccurs ="
unbounded ">
<
xs:complexType >
<
xs:sequence >
<xs:any namespace ="http://www.e-dec.ch/xml/schema/edec " processContents ="lax " maxOccurs ="unbounded "/>
</
xs:sequence >
<
xs:attribute name ="
select "
use ="
required ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:minLength value ="1 "/>
<xs:maxLength value ="500 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:attribute >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
remove "
minOccurs ="
0 "
maxOccurs ="
unbounded ">
<
xs:complexType >
<
xs:attribute name ="
select "
use ="
required ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:minLength value ="1 "/>
<xs:maxLength value ="500 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:attribute >
</
xs:complexType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
CustomsRejectionType
Abstract
no
Documentation
Complex Type für Ablehnungen von Korrekturen und Annullierungen durch den Zoll.
Diagram
Schema Component Representation
<
xs:complexType name ="
CustomsRejectionType ">
<
xs:sequence >
<
xs:element name ="
type ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="correctionRejection "/>
<xs:enumeration value ="cancellationRejection "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
DeclarantType
Abstract
no
Documentation
Complex Type Deklarant
Diagram
Schema Component Representation
<
xs:complexType name ="
DeclarantType ">
<
xs:sequence >
<
xs:element name ="
declarantNumber "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="3 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
DescriptionType
Abstract
no
Documentation
Complex Type für Beschreibungen
Diagram
Schema Component Representation
<
xs:complexType name ="
DescriptionType ">
<
xs:sequence >
<
xs:element name ="
description "
maxOccurs ="
unbounded ">
<
xs:complexType >
<
xs:simpleContent >
<
xs:extension base ="
edecResponse :Description ">
<
xs:attribute name ="
language "
type ="
xs :language"
use ="
required "/>
</
xs:extension >
</
xs:simpleContent >
</
xs:complexType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
EDIFACTErrorType
Abstract
no
Documentation
Complex Type für Fehlermeldungen, die auf Grund der Validierung der EDIFACT Nachricht entstanden sind.
Diagram
Schema Component Representation
<
xs:complexType name ="
EDIFACTErrorType ">
<
xs:sequence >
<
xs:element name ="
converter "
minOccurs ="
0 ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
name ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="50 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
reference "
type ="
xs :anyURI"
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
error "
maxOccurs ="
unbounded ">
<
xs:complexType >
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ErrorType
Abstract
no
Documentation
Complex Type zur Abbildung von Fehlern
Diagram
Schema Component Representation
<
xs:complexType name ="
ErrorType ">
<
xs:sequence >
<
xs:element name ="
message "
type ="
xs :string"/>
<
xs:element name ="
errorLine "
type ="
xs :integer"
minOccurs ="
0 "/>
<
xs:element name ="
errorColumn "
type ="
xs :integer"
minOccurs ="
0 "/>
<
xs:element name ="
elementName "
type ="
xs :string"
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
FeeType
Abstract
no
Documentation
Complex Type Gebühr; optionales Element da in edecImport optional.
Diagram
Schema Component Representation
<
xs:complexType name ="
FeeType ">
<
xs:sequence >
<
xs:element name ="
type ">
<
xs:simpleType >
<
xs:restriction base ="
xs :nonNegativeInteger">
<xs:totalDigits value ="4 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
amount ">
<
xs:simpleType >
<
xs:restriction base ="
xs :decimal">
<xs:totalDigits value ="12 "/>
<xs:fractionDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
GoodsDeclarationAcceptanceType
Abstract
no
Documentation
Complex Type Zollanmeldung
Diagram
Schema Component Representation
<
xs:complexType name ="
GoodsDeclarationAcceptanceType ">
<
xs:sequence >
<
xs:element name ="
accessCode "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="20 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
acceptanceDate "
type ="
xs :date"/>
<
xs:element name ="
acceptanceTime "
type ="
xs :time"/>
<
xs:element name ="
provisionalDeclarationExpirationDate "
type ="
xs :date"
minOccurs ="
0 "/>
<
xs:element name ="
initiator ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:enumeration value ="0 "/>
<xs:enumeration value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
correctionCode ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:enumeration value ="0 "/>
<xs:enumeration value ="1 "/>
<xs:enumeration value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
additionalTax "
type ="
edecResponse :FeeType "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
otherElements "
type ="
xs :anyType"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
GoodsDeclarationRejectionType
Abstract
no
Documentation
Complex Type für Ablehnung Zollanmeldung
Diagram
Schema Component Representation
<
xs:complexType name ="
GoodsDeclarationRejectionType ">
<
xs:sequence >
<
xs:element name ="
rejectionDate "
type ="
xs :date"/>
<
xs:element name ="
rejectionTime "
type ="
xs :time"/>
<
xs:element name ="
errors ">
<
xs:complexType >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
otherElements "
type ="
xs :anyType"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
GoodsDeclarationStatusType
Abstract
no
Documentation
Complex Type für die Übermittlung des Status einer Zollanmeldung, z.B. wartend auf Korrekturbegutachtung durch Zöllner.
Diagram
Schema Component Representation
<
xs:complexType name ="
GoodsDeclarationStatusType ">
<
xs:sequence >
<
xs:element name ="
customsOfficeNumber "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:minLength value ="1 "/>
<xs:maxLength value ="8 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
statusDate "
type ="
xs :date"/>
<
xs:element name ="
statusTime "
type ="
xs :time"/>
<
xs:element name ="
status ">
<
xs:simpleType >
<
xs:restriction base ="
xs :positiveInteger">
<xs:totalDigits value ="3 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
specificCircumstanceIndicator "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:length value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
uniqueConsignmentReferenceNumber "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:minLength value ="1 "/>
<xs:maxLength value ="70 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
otherElements "
type ="
xs :anyType"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
GoodsItemType
Abstract
no
Documentation
Complex Type Ware
Diagram
Schema Component Representation
<
xs:complexType name ="
GoodsItemType ">
<
xs:sequence >
<
xs:element name ="
traderItemID ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="16 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
customsItemNumber ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="5 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
selectionResult "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
valuationRate "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :decimal">
<xs:totalDigits value ="9 "/>
<xs:fractionDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
additionalTaxDetail "
minOccurs ="
0 "
maxOccurs ="
unbounded ">
<
xs:complexType >
<
xs:complexContent >
<
xs:extension base ="
edecResponse :FeeType ">
<
xs:sequence >
<
xs:element name ="
key ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:length value ="3 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:extension >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
otherElements "
type ="
xs :anyType"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ReferencedElementType
Abstract
no
Documentation
Complex Type für Referenzen
Diagram
Schema Component Representation
<
xs:complexType name ="
ReferencedElementType ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
RuleErrorType
Abstract
no
Documentation
Complex Type für Fehlermeldungen, die auf Grund der Plausi-Regeln entstanden sind.
Diagram
Schema Component Representation
<
xs:complexType name ="
RuleErrorType ">
<
xs:sequence >
<
xs:element name ="
ruleEngine "
minOccurs ="
0 ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
name "
type ="
xs :string"/>
<
xs:element name ="
reference "
type ="
xs :string"
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
error "
maxOccurs ="
unbounded ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
ruleName ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="50 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<xs:element name ="ruleID " minOccurs ="0 "/>
<xs:element name ="ruleVersion " minOccurs ="0 "/>
<xs:element name ="errorCode " minOccurs ="0 "/>
<
xs:element name ="
checkType "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="150 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
reference "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="50 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ValuationType
Abstract
no
Documentation
Complex Type Zoll / MWST
Diagram
Schema Component Representation
<
xs:complexType name ="
ValuationType ">
<
xs:sequence >
<
xs:element name ="
duty ">
<
xs:simpleType >
<
xs:restriction base ="
xs :decimal">
<xs:totalDigits value ="12 "/>
<xs:fractionDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
VAT ">
<
xs:simpleType >
<
xs:restriction base ="
xs :decimal">
<xs:totalDigits value ="12 "/>
<xs:fractionDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
XMLSchemaErrorType
Abstract
no
Documentation
Complex Type für Fehlermeldungen, die auf Grund der Validierung mit dem XML Schema entstanden sind.
Diagram
Schema Component Representation
<
xs:complexType name ="
XMLSchemaErrorType ">
<
xs:sequence >
<
xs:element name ="
schema ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
location "
type ="
xs :anyURI"/>
<
xs:element name ="
namespace "
type ="
xs :anyURI"
minOccurs ="
0 "/>
<
xs:element name ="
version "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="20 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
parser ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
name ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="50 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
reference "
type ="
xs :anyURI"
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
error "
maxOccurs ="
unbounded ">
<
xs:complexType >
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
xs :string < CustomsDeclarationNumber (by restriction)
Sub-types:
None
Name
CustomsDeclarationNumber
Content
Documentation
Zollanmeldungsnummer Zoll (früher Deklarationsnummer Zoll) (bei Export entspricht die Referenz der Movement Reference Number, MRN)
Diagram
Schema Component Representation
<
xs:simpleType name ="
CustomsDeclarationNumber ">
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="21 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :integer < CustomsDeclarationVersion (by restriction)
Sub-types:
None
Name
CustomsDeclarationVersion
Content
Documentation
Versionsnummer der Zollanmeldung. Wird von e-dec vergeben.
Diagram
Schema Component Representation
<
xs:simpleType name ="
CustomsDeclarationVersion ">
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < Description (by restriction)
Sub-types:
None
Name
Description
Content
Documentation
Text mit beschränkter Länge
Diagram
Schema Component Representation
<
xs:simpleType name ="
Description ">
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="1000 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < Reference (by restriction)
Sub-types:
None
Name
Reference
Content
Documentation
Simple Type für Referenzen
Diagram
Schema Component Representation
<
xs:simpleType name ="
Reference ">
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="35 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < SchemaVersionType (by restriction)
Sub-types:
None
Name
SchemaVersionType
Content
pattern = [1-9]{0,1}[0-9]{1}\.[0-9]{1,2}
Documentation
Schema Versionsnummer die zum Validieren verwendet werden muss
Diagram
Schema Component Representation
<
xs:simpleType name ="
SchemaVersionType ">
<
xs:restriction base ="
xs :string">
<xs:pattern value ="[1-9]{0,1}[0-9]{1}\.[0-9]{1,2} "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < TraderDeclarationNumber (by restriction)
Sub-types:
None
Name
TraderDeclarationNumber
Content
Documentation
Zollanmeldungsnummer Zollkunde (früher Deklarationsnummer Spediteur)
Diagram
Schema Component Representation
<
xs:simpleType name ="
TraderDeclarationNumber ">
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="22 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < TraderIdentificationNumber (by restriction)
Sub-types:
None
Name
TraderIdentificationNumber
Content
Documentation
Simple Type für TraderIdentificationNumber (TIN)
Diagram
Schema Component Representation
<
xs:simpleType name ="
TraderIdentificationNumber ">
<
xs:restriction base ="
xs :string">
<xs:minLength value ="1 "/>
<xs:maxLength value ="17 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < TraderReference (by restriction)
Sub-types:
None
Name
TraderReference
Content
Documentation
Dossiernummer Zollkunde; das Element ist optional da es bei edecImport ebenfalls optional ist. Falls das Element in der Zollanmeldung gefüllt wurde, wird es in der Antwort zurückgeschickt.
Diagram
Schema Component Representation
<
xs:simpleType name ="
TraderReference ">
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="35 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :integer < YesNoCode (by restriction)
Sub-types:
None
Name
YesNoCode
Content
value comes from list: {'0'|'1'}
Documentation
Werteliste für ja-nein Flags. nein=0, ja=1
Diagram
Schema Component Representation
<
xs:simpleType name ="
YesNoCode ">
<
xs:restriction base ="
xs :integer">
<xs:enumeration value ="0 "/>
<xs:enumeration value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
Complex Type:
Schema Component Type
AusAddress
Schema Component Name
Super-types:
Address < AusAddress (by extension)
Sub-types:
QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
The table above displays the properties of this schema component.
XML Instance Representation
<...
country="Australia "
>
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice
[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]
?
</...>
The XML Instance Representation table above shows the schema component's content as an XML instance.
The minimum and maximum occurrence of elements and attributes are provided in square brackets, e.g. [0..1].
Model group information are shown in gray, e.g. Start Choice ... End Choice.
For type derivations, the elements and attributes that have been added to or changed from the base type's content are shown in bold .
If an element/attribute has a fixed value, the fixed value is shown in green, e.g. country="Australia".
Otherwise, the type of the element/attribute is displayed.
If the element/attribute's type is in the schema, a link is provided to it.
For local simple type definitions, the constraints are displayed in angle brackets, e.g. <<pattern = [1-9][0-9]{3}>>.
If a local element/attribute has documentation, it will be displayed in a window that pops up when the question mark inside the attribute or next to the element is clicked, e.g. <postcode>.
Schema Component Representation
<complexType
name ="AusAddress ">
<complexContent >
<extension
base ="Address ">
<sequence >
<element
name ="state " type ="AusStates "/>
<element
name ="postcode ">
<simpleType >
<restriction
base ="string ">
<pattern
value ="[1-9][0-9]{3} "/>
</restriction >
</simpleType >
</element >
</sequence >
<attribute
name ="country " type ="string " fixed ="Australia "/>
</extension >
</complexContent >
</complexType >
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.
All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all .
Choice Model Group
Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice .
Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.
Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods , e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type
attribute.
Key Constraint Like Uniqueness Constraint , but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions .
Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint . See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions .
Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups .
Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil
attribute. The xsi:nil
attribute is the boolean attribute, nil , from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil
attribute set to true, it can be left empty, even though its element declaration may have required content.
Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations .
Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.
Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.
Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.
Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).
Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence .
Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.
Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.
Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.
Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions .